package
{
	import com.craney.*;
	import com.craney.aboutSound.PlaySound;
	import com.craney.embeddedAsset.EmbedJPG;
	import com.craney.redTest.*;
	
	import flash.display.Sprite;
	import flash.geom.*;
	
//	[SWF(width=1000, height=800, framRate=150, backgroundColor=0x000000)]
//	[SWF(width=1000, height=800, framRate=150, backgroundColor=0xffffff)]
	[SWF(width=800, height=600, framRate=150, backgroundColor=0xc0c0c0)]


	public class TestCorp extends Sprite
	{
		public function TestCorp()
		{
//			x = stage.stageWidth * 0.1;
//			y = stage.stageHeight * 0.1;
//			new TestVideo(this);
//			addChild(new LoadBar());
			var a:Array = 
				[
					"yytcdj.MP3",
					"http://www.sxtgedu.net/schoolmusic/music/ysyn.mp3",
					"http://group.tjsyxy.com//yingyong/upload/yx/zxsd.mp3",
					"http://tongbuxt.educast.cn/GZ04-05-1/19/XK18_NJ12/ZY20050131194449359/Link/liangzhu.mp3",
					"http://www.ego-up.com/admin/NewsFile/200871410158169.mp3",
					"http://www.okmood.cn/风吹麦浪.MP3",
					"http://mp3.230jm.com/mp3/rangwoqunuan.mp3",
					"http://www.szsos.com/attachments/month_0607/XuWei_a08.MP3",
				];
//			RandomizeArray.randomize(a);
			addChild(new PlaySound(a[0]));
			new EmbedJPG(this);
			trace(this.x, this.y);
			trace(this.width);
			trace(this.height);
			trace(this.getBounds(this));
			trace(this.getBounds(stage));
		}
    }

}
